package com.xhtt.modules.msg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 远程调用失败日志表
 * </p>
 *
 * @author feipc
 * @since 2019-05-07
 */
@Data
public class RestMsgFailLog {

    private static final long serialVersionUID = 1L;

    public RestMsgFailLog() {
    }

    public RestMsgFailLog(String code, String message, String sendInfo) {
        this.code = code;
        this.message = message;
        this.sendInfo = sendInfo;
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String code;

    private String message;

    private String sendInfo;

    private LocalDateTime createTime;

}
